"use strict";
import koaRouter from "koa-router";
import Product from "@/controllers/product/Product";

const productRouter = new koaRouter();

const product = new Product();
// 挂载创建模板的路由
productRouter
          // 查看注册详情 显示id_code列表
          .get("/get_product_list",product.getProductList)
          .get("/get_product_details",product.getProductDetails)

          
export default productRouter;
